package com.hspedu.com.dao_.domain;

/**
 * @author DL5O
 * @version 1.0
 */
public class Goods {
    private Integer id;
    private String good_name;
    private Double price;

    public Goods(Integer id, String good_name, Double price) {
        this.id = id;
        this.good_name = good_name;
        this.price = price;
    }

    public Goods() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGood_name() {
        return good_name;
    }

    public void setGood_name(String good_name) {
        this.good_name = good_name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", good_name='" + good_name + '\'' +
                ", price=" + price +
                '}';
    }
}
